package com.chen.permission.mapper;

import com.chen.basic.mapper.BaseMapper;
import com.chen.permission.domain.Menu;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> tree(Long userId);
}
